<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:vates="http://vates.com/facelets">
<h:head>
</h:head>
<h:body>
	<h:form>
      	Alta de Usuarios
      	<vates:textField id="lastName" labelField="Last Name"
			attributeField="#{userBean.user.lastName}" />
		<vates:textField id="firstName" labelField="First Name"
			attributeField="#{userBean.user.firstName}" />
		<vates:textField id="userName" labelField="Username"
			attributeField="#{userBean.user.userName}" />
		<vates:textField id="password" labelField="Password"
			attributeField="#{userBean.user.password}" />
		<vates:textField id="eMail" labelField="E-mail"
			attributeField="#{userBean.user.eMail}" />
		<vates:dateField id="birthDay" labelField="Birth Day"
			attributeField="#{userBean.user.birthDay}" />
		<vates:commandLink backingBean="#{userBean}" action="doSave"
			linkText="Save"></vates:commandLink>
		<vates:commandLink backingBean="#{userListBean}" action="showUserList"
			linkText="Cancel"></vates:commandLink>
	</h:form>
</h:body>
</html>